package demo2;

import demo1.Test1;

public class Test2 extends Test1 {
    public void func() {
        System.out.println(super.a);
    }
    public static void main(String[] args) {
        Test2 test = new Test2();
        test.func();
    }
}
